package com.unicom.mec.base.service;

import com.unicom.mec.base.mapper.DictDataMapper;
import com.unicom.mec.base.vo.DictVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 数据字典业务层实现
 *
 * @author 刘亮武
 * @date 2020年06月15日
 */
@Service
public class DictServiceImpl implements DictService {

    @Autowired
    private DictDataMapper dictDataMapper;

    @Override
    public List<DictVo> findDict(String dictKey, List<String> values) {
        return dictDataMapper.findDictData(dictKey, values);
    }
}
